package com.qdlc.p2p.dal.dao;

import java.util.List;

import com.qdlc.p2p.dal.common.dao.BaseDao;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.NewActivityPlan;
import com.qdlc.p2p.dal.model.NewActivityPlanModel;

/**
 * Created by liaoxiangkai on 2015/11/12.
 */
public interface NewActivityPlanDao extends BaseDao<NewActivityPlan> {

    NewActivityPlan getActivityPlanByTache(String tache);

    PageDataList<NewActivityPlanModel> list(NewActivityPlanModel model);

    int toggleStatus(NewActivityPlanModel model);

    List<NewActivityPlan> isCanBeAdd(NewActivityPlanModel model);

    List<NewActivityPlan> findEnablePlan();

}
